cmake_minimum_required(VERSION 3.22)

# Add sources to executable
target_sources(${CMAKE_PROJECT_NAME} PRIVATE
    # Add user sources here
    ./oledlib/oled_basic.c
    ./oledlib/oled_bmp.c
    ./oledlib/oled_buffer.c
    ./oledlib/oled_color.c
    ./oledlib/oled_config.c
    ./oledlib/oled_debug.c
    ./oledlib/oled_draw.c
    ./oledlib/oled_driver.c
    ./oledlib/oled_font.c
)

# Add include paths
target_include_directories(${CMAKE_PROJECT_NAME} PRIVATE
    # Add user defined include paths
    ./oledlib/
    ./
)